//
//  PullView.h
//  drivingSchool
//
//  Created by 子yu 刘 on 2018/11/11.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^selectedBlock)(NSInteger index);

@interface PullView : UIView

@property (nonatomic,assign)NSInteger selIndex;
@property (nonatomic ,copy) selectedBlock block;

+ (PullView *)sharedInstance;

+ (void)pullWithArr:(NSArray *)dataArr frme:(CGRect)frame superView:(UIView *)superView index:(selectedBlock)block;

-(instancetype) initWithFrame:(CGRect)frame dataArr:(NSArray *)array;

@end

NS_ASSUME_NONNULL_END
